package com.tongji.housediy.controller.CantavilCMD
{
	import com.tongji.housediy.events.CantavilEvent.GetCantavilNameEvent;
	import com.tongji.housediy.model.CantavilModel;
	
	import org.robotlegs.mvcs.Command;
	
	
	/**
	 * 
	 * @author Barbiel
	 * 2011-7-1
	 */
	public class UpdateCantavilModelCmd extends Command
	{
		[Inject]
		public var event:GetCantavilNameEvent;
		
		[Inject]
		public var cantavilModel:CantavilModel;
		
		override public function execute():void
		{
			cantavilModel.updateCantavilModel(event.cantavilModel);
		}
	}
}